package com.devops.controller;


import com.devops.entity.JvmDesc;
import com.devops.service.JvmDescService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author huang
 * @Description
 * @Date 2025/7/5 15:29
 */
@RestController
public class JvmDescController {
    private final JvmDescService jvmDescService;

    public JvmDescController(JvmDescService jvmDescService) {
        this.jvmDescService = jvmDescService;
    }

    @RequestMapping("jvm")
    public JvmDesc getJvmDesc() {
        return jvmDescService.getJvmDesc();
    }
}
